Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 7 - Transform Objects / Transform Objects Reference
Transform Objects Routines / Creating and Manipulating Rotate Transforms


Q3RotateTransform_New

You can use the Q3RotateTransform_New function to create a new rotate transform.

TQ3TransformObject Q3RotateTransform_New (
const TQ3RotateTransformData *data);
data
A pointer to a rotate transform data structure.
DESCRIPTION
The Q3RotateTransform_New function returns, as its function result, a reference to a new transform object of type kQ3TransformTypeRotate using the data passed in the data parameter. The data you pass is copied into internal QuickDraw 3D data structures. If QuickDraw 3D cannot allocate memory for those structures, Q3RotateTransform_New returns the value NULL.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996